package com.xkh.websocketweb.controller;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author xkh
 * 2020/9/17
 */
@Controller
@RequestMapping
@Api(tags = "webSocketWeb模块")
@Slf4j
public class WebSocketController {

    @GetMapping("/chat")
    @ApiOperation("页面")
    public String webSocketHtml() {
        return "chat";
    }

}
